<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="pub/top_list2.jsp"%>   
<%
String sql = "select * from member";
String[] params = null;
List<Map<String, Object>> list = db.queryList(sql, params);
%>

用户列表
<ul>
		<%
			for (Map<String, Object> m : list) {
				String userid = m.get("UserID").toString();
				String name = (m.get("NickName")==null)?"": m.get("NickName").toString();
		%>
		<li>用户编号:<%=userid%> , 年龄:<%=name%></li>
		<%
			}
		%>
			
	</ul>
</body>
</html>
